package com.webside.points.model;

import java.util.Date;

import com.webside.points.wechat.DateUtil;

public class SystemUserEntity {

	/*
	 * ID
	 */
	private int id;
	/*
	 * 用户名
	 */
	private String userName;
	/*
	 * 密码
	 */
	private String password;
	/*
	 * 创建时间
	 */
	private Date createTime;
	/*
	 * 状态
	 */
	private String status;
	/*
	 * 格式化创建时间
	 */
	private String createDateFormat;
	
	

	public String getCreateDateFormat() {
		return createDateFormat;
	}

	public void setCreateDateFormat(String createDateFormat) {
		this.createDateFormat = createDateFormat;
	}

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
		this.createDateFormat = DateUtil.dateFormat(createTime);
	}

	public String getStatus() {
		return status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	@Override
	public String toString() {
		return "SystemUserEntity [id=" + id + ", userName=" + userName + ", password=" + password + ", createTime="
				+ createTime + ", status=" + status + "]";
	}
	
	
}
